
#article-editormd > textarea,
#editormd-view > textarea,
#editormd-comment > textarea{
  display: none;
}


#editormd-view{
  padding-left: 0px;
  padding-right: 0px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}


/*弹出层*/
#mask{
  position:fixed; 
  left:0%;
  top: 0%;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 1000;
}

.alert-box{
  position:absolute; 
  left:50%;
  top: 50%;
  height: 40px;
  line-height: 40px;
  margin-top: -180px;
  background: #666;
  padding:0 30px;
  z-index: 999;
  color: #fff;
  border-radius: 3px;
  text-align: center;
}



/*登陆和注册*/
.login-page{
  width: 940px;
  margin: 50px auto 0px;
}
.login-page .logo{
  width: 100%;
  height: 100px;
}
.login-page .title{
  margin: 50px auto;
  border-bottom: 1px solid #eeeeee;
  color: #b1b1b1;
  text-align: center;
  font-size: 18px;
}
.login-page .title span{
  position: relative;
  top: 10px;
  background-color: #fff;
  padding: 0 30px;
}
.login-page .title span a{
  color: #b1b1b1;
}
.login-page .title span a.active,
.login-page .title span a:hover{
  color: #555;
}
.login-page .title span b{
  margin: 0px 10px;
}

.login-page form{
  width: 300px;
  padding-bottom: 40px;
  margin: 0 auto;
}
.login-page input.input-login{
  width: 228px;
  width: calc(100% - 44px);
  height: 44px;
}


/*编辑文章页*/
.edit-article,
.article-page{
  max-width: 1000px;
  min-width: 320px;
  height: 100%;
  margin: 0 auto;
  padding-top: 70px;
}

.edit-article > form{
  margin: 0px auto 20px;
}

.edit-article .input-prepend select{
  width: 200px;
}

.edit-article .input-prepend textarea{
  height: 108px;
  line-height: 24px;
  resize: none;
}



/*左导航*/
.left-bar{
  position: fixed;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  bottom: 0;
  background-color: #fff;
  border-right: 1px solid #ddd;
  z-index: 1001;
}

.left-bar .logo{
  width: 90px;
  height: 90px;
  margin: 10px auto 30px;
}

.left-nav{
  list-style: none;
}
.left-nav li{
  width: 100%;
  height: 70px;
  position: relative;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.left-nav li.active:after {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  height: 100%;
  border-right: 1px solid #fff;
}
.left-nav li a{
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
}
.left-nav li a:hover{
  color: #03a9f4;
}
.left-nav li.active {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.left-nav li.active a{
  font-weight: bold;
  color: #03a9f4;
}
.left-nav li a i{
  font-size: 30px;
}


/*用户下拉菜单*/
.drop-menu {
  position: fixed;
  top: 6px;
  right: 0;
  margin-bottom: 0;
  z-index: 1010;
}
.drop-menu .login{
  position: relative;
  top: 10px;
  float: right;
  padding: 0 2px;
  margin-right: 8px;
}
.drop-menu a.login:hover{
  color: #000;
}
.drop-menu .login i{
  margin-right: 4px;
}
.drop-menu .user.avatar{
  position: relative;
  float: right;
  width: 38px;
  height: 38px;
  display: inline-block;
  padding-right: 10px;
  margin-right: 10px;
  border: none;
}
/**
* 如果显示下拉菜单功能的按钮有图片，就让它圆角显示
*/
.avatar {
  border-radius: 50%;
}
.avatar img{
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  border-radius: 50%;
  vertical-align: middle;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.avatar:hover img{
  border-color: #03a9f4;
}
.user.avatar .caret{
  position: absolute;
  top: 20px;
  right: 0;
  border-top: 4px solid #000;
}
.drop-menu .dropdown-menu{
  right: 2px;
  left: auto;
  margin-top: 10px;
  border: 1px solid #d9d9d9;
}
.drop-menu .dropdown-menu::before,
.drop-menu .dropdown-menu::after{
  left: 115px;
}



/*右边模块*/
.container{
  margin-left: 120px;
}

/*文章列表页面*/
.article-list-page .article-list {
  margin-left: 40px;
  padding-top: 70px;
}

/*文章详情页*/
.article-page {
  padding-top: 20px;
}
.article-page > h3.title{
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
}
.article-page.author{
  margin: 0px 0 8px;
  color: #aaaaaa;
  display: inline-block;
}
.article-page .author a{
  color: #3da9f7;
}
.article-page .author .avatar,
.article-list .author .avatar{
  display: inline-block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #fff;
  vertical-align: middle;
  margin-right: 6px;
}
.article-page .author a:hover,
.article-list .author a:hover{
  color: #2c79b0;
  text-decoration: none;
}
.article-page .author a:hover .avatar,
.article-list .author a:hover .avatar{
  border: 1px solid #3da9f7;
}
.article-page .tag{
  margin-right: 6px;
  color: #555;
}
.article-page .tag.time {
  color: #aaaaaa;
}
.article-page .tool .btn-info,
.article-page .tool .btn-danger {
  margin-right: 10px;
}


/*专题列表页面*/
.cloumn-list-page .cloumn-list {
  margin-left: 10px;
  padding-top: 70px;
}

/*专题详情页*/
.cloumn-page{
  /*margin-left: 120px;*/
}
.cloumn-page .cloumn-header{
  padding: 30px 0 30px 50px;
  background-color: #fbfbfb;
  border-bottom: 1px solid #eee;
}
.cloumn-page .cloumn-header .info{
  max-width: 700px;
  position: relative;
}
.cloumn-page .cloumn-header .cname h3{
  font-size: 24px;
  color: #555;
  margin-bottom: 12px
}
.cloumn-page .cloumn-header .anthor,
.cloumn-page .cloumn-header .cdesc{
  margin-bottom: 14px
}
.cloumn-page .cloumn-right{
  position: absolute;
  top: 10px;
  right: -100px;
}
.cloumn-page .cloumn-right a{
  font-size: 14px;
  line-height: 22px;
}
.cloumn-page .cloumn-content{
  margin-left: 50px;
  margin-top: 20px;
}
.cloumn-page .cloumn-content .article-list {
  padding-top: 10px;
  margin-left: 0px;
}


/*专题创建页*/
.cloumn-edit {
  margin: 20px auto;
  margin-left: -120px;
  text-align: center;
}
.cloumn-edit form:first-child{
  width: 600px;
  margin: 140px auto 0;
}
.cloumn-edit form:last-child{
  width: 600px;
  margin: 0px auto;
}
.cloumn-edit h3{
  font-size: 30px;
  color: #555;
  margin-bottom: 30px;
}
.cloumn-edit form .upload{
  width: 220px;
  margin: 20px auto;
  position: relative;
}
.cloumn-edit form .upload .fa{
  width: 100%;
  height: 100%;
  font-size: 150px;
  cursor: pointer;
  color: #555555;
}
.cloumn-edit form .upload .fa:hover{
  color: #000;
}
.cloumn-edit form .upload .title{
  display: block;
  margin: 2px auto 6px;
  font-size: 12px;
}
.cloumn-edit form .upload .preview{
  cursor: pointer;
  width: 100%;
  height: 140px;
}
.cloumn-edit form .upload>div{
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.6);
  display: none;
}
.cloumn-edit form .upload>div>img{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -40px;
}
.cloumn-edit .input-prepend textarea{
  height: 108px;
  line-height: 24px;
  resize: none;
}
.cloumn-edit .btn-success.btn-large{
  width: 350px;
  padding: 10px 18px;
  font-size: 16px;
}



/*标签页面*/
.tag-page{
  margin: 0 auto;
  padding-top: 10px;
  max-width: 880px;
}

.tag-page .top{
  padding: 40px 0;
  text-align: center;
  font-size: 22px;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 15px;
}
.tag-page .top .fa{
  margin-right: 10px;
  color: #999999;
  font-size: 26px;
}
.tag-page .article-list {
  margin-left: 0px;
  width: 100%;
  padding: 0px;
}



/*设置页*/
.settings{
  width: 480px;
  margin: 0 auto;
}
.settings .title{
  text-align: center;
  margin-top: 60px;
  font-size: 24px;
  color: #555;
  padding-bottom: 20px;
}
.settings .nav li a{
  width: 158px;
}

.settings .personal,
.settings .modify {
  clear: both;
  width: 100%;
  margin: 0 auto;
  color: #555;
  padding-top: 36px;
}

.settings .personal .input-prepend textarea{
  height: 60px;
  resize:none;
  vertical-align: middle;
  padding: 6px 4px;
}

.settings .email{
  text-align: center;
  padding-top: 130px;
} 

.settings .head {
  clear: both;
  text-align: center;
  vertical-align: middle;
}
.settings .head .user {
  display: inline-block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 auto;
  margin-right: 12px;
  position: relative;
}
.settings .head .user>img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.settings .head .user div{
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.6);
  display: none;
}
.settings .head .user div>img{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -16px;
}
.settings .head .uploadForm{
  text-align: center;
}



/*个人的主页*/
.user-page{
  width: 880px;
  margin: 18px auto 10px;
}

.user-page .host-box img{
  display: block;
  float: left;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.user-page .host-box .info {
  float: left;
  margin-left: 20px;
}
.user-page .host-box .info > div {
  line-height: 16px;
  margin: 10px 0;
  font-size: 14px;
  height: 16px;
  color: #969696;
  border-left: 3px solid transparent;
  padding-left: 8px;
}
.user-page .host-box .info .username {
  font-size: 16px;
  font-weight: 100;
  color: #666;
  border-left: 3px solid #3da9f7;
  padding-left: 8px;
}
.user-page .host ul{
  float: right;
  margin-top: 30px;
}
.user-page .host ul li{
  float: left;
  font-size: 12px;
  padding-left: 50px;
  color: #969696;
}

.user-page .nav-orderBy{
  margin-top: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;

}



